package com.shopcentre15.shopcentre.FormalShopExplot.Service.Goods;

import com.shopcentre15.shopcentre.FormalShopExplot.Entity.ShopGoods;

import java.util.List;
import java.util.Map;

public interface GoodsService {
    Integer addProduct(Map<String,Object> params);

    List<ShopGoods> getGoodsList();

    List<ShopGoods> getGoodsListByPage(Map<String,Object> params);
    Integer getTotalGoodsCount(int mid);
    List<ShopGoods> getGoodsListByPageHelper(int mid);

    Integer UpdateProduct(int id,int state);

    ShopGoods goodInfo(int id);

    Integer updateGoodInfo(Map<String,Object> params);

    List<ShopGoods> getGoodsByTitle(String Keyword,int mid);

    Integer UpdateGoodsStateBatch(List<Integer> mids);
}
